#ifndef CAMERA_H
#define CAMERA_H

struct Camera {
	float posX;
	float posY;
	float widthUnits;
	float heightUnits;
	float targetX;
	float targetY;
	float stepSize;

	double shakingCounter;
	float shakingRadius;
	float lastRandX;
	float lastRandY;

	Camera();

	void shake(double seconds, float radius);

	void update(double dt);

};

#endif